package com.txunda.zhuohired.bean.user.find;

import java.util.List;

/**
 * 创建人： Txd_Cjh
 * 创建时间： 2018/4/13 10:26
 * 功能描述：发现页bean
 * 联系方式：jiahuanchen@126.com
 */

public class FindBean {

    /**
     * code : 1
     * message : 成功
     * data : {"type":[{"id":"1","name":"关于我们"},{"id":"2","name":"出去浪"},{"id":"3","name":"生活空"},{"id":"4",
     * "name":"变漂亮"}],"article_one":[{"title":"卓聘简介","pic":"http://zhuoHired.txunda
     * .com/Uploads/Article/2018-04-03/5ac2f23663b68.jpg","type_name":"关于我们","view":"0","goods":"0"}],
     * "article":[{"title":"卓聘简介","pic":"http://zhuoHired.txunda.com/Uploads/HomePic/2018-04-03/5ac2f2515d027.jpg",
     * "type_name":"关于我们","view":"0","goods":"0"},{"title":"卓聘简介","pic":"http://zhuoHired.txunda
     * .com/Uploads/Advertising/2018-04-03/5ac2f26872d0f.jpg","type_name":"关于我们","view":"0","goods":"0"}]}
     * nums : 0
     */

    private String code;
    private String message;
    private DataBean data;
    private String nums;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getNums() {
        return nums;
    }

    public void setNums(String nums) {
        this.nums = nums;
    }

    public static class DataBean {
        private List<TypeBean> type;
        private List<ArticleOneBean> article_one;
        private List<ArticleBean> article;

        public List<TypeBean> getType() {
            return type;
        }

        public void setType(List<TypeBean> type) {
            this.type = type;
        }

        public List<ArticleOneBean> getArticle_one() {
            return article_one;
        }

        public void setArticle_one(List<ArticleOneBean> article_one) {
            this.article_one = article_one;
        }

        public List<ArticleBean> getArticle() {
            return article;
        }

        public void setArticle(List<ArticleBean> article) {
            this.article = article;
        }

        public static class TypeBean {
            /**
             * id : 1
             * name : 关于我们
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            @Override
            public String toString() {
                return "TypeBean{" +
                        "id='" + id + '\'' +
                        ", name='" + name + '\'' +
                        '}';
            }
        }

        public static class ArticleOneBean {
            /**
             * title : 卓聘简介
             * pic : http://zhuoHired.txunda.com/Uploads/Article/2018-04-03/5ac2f23663b68.jpg
             * type_name : 关于我们
             * view : 0
             * goods : 0
             */

            private String title;
            private String pic;
            private String type_name;
            private String view;
            private String goods;
            private String id;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getType_name() {
                return type_name;
            }

            public void setType_name(String type_name) {
                this.type_name = type_name;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getGoods() {
                return goods;
            }

            public void setGoods(String goods) {
                this.goods = goods;
            }

            @Override
            public String toString() {
                return "ArticleOneBean{" +
                        "title='" + title + '\'' +
                        ", pic='" + pic + '\'' +
                        ", type_name='" + type_name + '\'' +
                        ", view='" + view + '\'' +
                        ", goods='" + goods + '\'' +
                        '}';
            }
        }

        public static class ArticleBean {
            /**
             * title : 卓聘简介
             * pic : http://zhuoHired.txunda.com/Uploads/HomePic/2018-04-03/5ac2f2515d027.jpg
             * type_name : 关于我们
             * view : 0
             * goods : 0
             */

            private String title;
            private String pic;
            private String type_name;
            private String view;
            private String goods;
            private String id;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getType_name() {
                return type_name;
            }

            public void setType_name(String type_name) {
                this.type_name = type_name;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getGoods() {
                return goods;
            }

            public void setGoods(String goods) {
                this.goods = goods;
            }

            @Override
            public String toString() {
                return "ArticleBean{" +
                        "title='" + title + '\'' +
                        ", pic='" + pic + '\'' +
                        ", type_name='" + type_name + '\'' +
                        ", view='" + view + '\'' +
                        ", goods='" + goods + '\'' +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "type=" + type +
                    ", article_one=" + article_one +
                    ", article=" + article +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "FindBean{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                ", nums='" + nums + '\'' +
                '}';
    }
}
